package cn.com.rexen.rplus.sa.model;

/**
 * 机构VO.
 * 
 * @author zhanghai
 * 
 */
@SuppressWarnings("serial")
public class OrganizationVO extends BaseVO {

    /**
     * 主键id.
     */
    private String id;

    /**
     * 机构名称.
     */
    private String name;

    /**
     * 
     */
    public OrganizationVO() {
        super();
    }

    /**
     * 父机构名称.
     */
    private String parent;

    /**
     * 应用id.
     */
    private String appid;

    /**
     * 父机构id.
     */
    private String parentid;
    
    
    private String type;
    

    /**
     * 返回type.
     * @return the type
     */
    public String getType() {
        return type;
    }

    /**
     * 设置type.
     * @param type the type to set
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * 机构操作VO构造方法.
     * 
     * @param id
     *            主键id.
     * @param name
     *            机够名称.
     * @param parent
     *            父机构名称.
     * @param appid
     *            应用id.
     * @param parentid
     *            父机构id.
     */
    public OrganizationVO(String id, String name, String parent, String appid, String parentid) {
        super();
        this.id = id;
        this.name = name;
        this.parent = parent;
        this.appid = appid;
        this.parentid = parentid;
    }

    /**
     * 返回id.
     * 
     * @return the id
     */
    public String getId() {
        return id;
    }

    /**
     * 设置id.
     * 
     * @param id
     *            the id to set
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 返回name.
     * 
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置name.
     * 
     * @param name
     *            the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 返回parent.
     * 
     * @return the parent
     */
    public String getParent() {
        return parent;
    }

    /**
     * 设置parent.
     * 
     * @param parent
     *            the parent to set
     */
    public void setParent(String parent) {
        this.parent = parent;
    }

    /**
     * 返回appid.
     * 
     * @return the appid
     */
    public String getAppid() {
        return appid;
    }

    /**
     * 设置appid.
     * 
     * @param appid
     *            the appid to set
     */
    public void setAppid(String appid) {
        this.appid = appid;
    }

    /**
     * 返回parentid.
     * 
     * @return the parentid
     */
    public String getParentid() {
        return parentid;
    }

    /**
     * 设置parentid.
     * 
     * @param parentid
     *            the parentid to set
     */
    public void setParentid(String parentid) {
        this.parentid = parentid;
    }

}
